Rnoc\Retainful\WcFunctions D

Total Complexity 331
Dependencies 5
Dependents 8
Total lines 1,925
Lines of code 1,009
Logical lines of code 532
Comment lines 625
Methods 143
Properties 1

Methods 143

Method Rating Maintainability Complexity Lines of code
getCustomerTotalSpent()
S
59 6 14
getAppliedDiscounts()
S
52 5 26
getCategoryIdsOfProductInCart()
S
59 5 15
getCartSubTotal()
S
63 4 13
getSaleProductIdsInCart()
S
61 4 12
getUsedCoupons()
S
62 4 12
getCartUrl()
S
62 4 11
getOrderItemMeta()
S
66 4 9
getCustomerTotalOrders()
S
65 4 9
hasSession()
S
63 4 10
setSession()
S
65 4 9
getSessionCookie()
S
63 3 12
getCustomerEmail()
S
63 3 12
__construct()
S
62 3 11
getCustomerOrdersByEmail()
S
63 3 11
getUserByEmail()
S
66 3 9
initWoocommerceSession()
S
73 3 5
removeDiscount()
S
67 3 8
getOrderUserId()
S
67 3 8
hasDiscount()
S
67 3 8
startPHPSession()
S
74 3 5
removePHPSession()
S
66 3 9
removeSession()
S
67 3 8
isCartEmpty()
S
64 3 10
getPage()
S
66 3 9
setQuantity()
S
64 3 10
addToCart()
S
63 3 10
getOrderDate()
S
64 3 10
isProductInSale()
S
66 3 9
getProductIdsInCart()
S
64 3 10
getOrderId()
S
67 3 8
isValidCoupon()
S
66 3 9
getPHPSession()
S
67 3 9
getSession()
S
67 3 8
setPHPSession()
S
68 3 7
getOrderEmail()
S
67 3 8
addDiscount()
S
67 3 8
getBillingLastName()
S
71 2 6
getBillingFirstName()
S
71 2 6
getOrderCurrency()
S
71 2 6
getBillingAddressOne()
S
71 2 6
getShopUrl()
S
71 2 6
getCheckoutUrl()
S
72 2 6
getProductCategoryIds()
S
71 2 6
getDefaultCurrency()
S
72 2 6
getCouponCode()
S
71 2 6
getProductImageId()
S
71 2 6
getProductImageSrc()
S
67 2 7
getCategoryId()
S
71 2 6
getItemPrice()
S
71 2 6
getItemName()
S
70 2 6
getItemTitle()
S
71 2 6
getBillingEmail()
S
71 2 6
getBillingState()
S
71 2 6
getBillingAddressTwo()
S
71 2 6
getOrderTotalTax()
S
71 2 6
getCustomerTotalSpentFromSession()
S
64 2 10
getAvailableOrderStatuses()
S
72 2 6
getCustomerTotalOrdersFromSession()
S
64 2 10
getProduct()
S
72 2 6
getPriceIncludingTax()
S
69 2 7
getPriceExcludingTax()
S
69 2 7
getCartItemPrice()
S
68 2 8
getCartFees()
S
71 2 6
getCartShippingTotal()
S
72 2 6
getCartDiscountTotal()
S
72 2 6
getCartShippingTaxTotal()
S
72 2 6
getCartTaxTotal()
S
72 2 6
getOrderItems()
S
72 2 6
getShippingCompany()
S
71 2 6
getBillingCity()
S
71 2 6
getShippingPostCode()
S
71 2 6
getShippingCountry()
S
71 2 6
getShippingState()
S
71 2 6
getShippingCity()
S
71 2 6
getShippingAddressTwo()
S
71 2 6
getShippingAddressFormatted()
S
71 2 6
getShippingAddressOne()
S
71 2 6
getShippingLastName()
S
71 2 6
getShippingFirstName()
S
71 2 6
getBillingPhone()
S
71 2 6
getBillingCompany()
S
71 2 6
getBillingPostCode()
S
71 2 6
getBillingCountry()
S
71 2 6
getItemId()
S
71 2 6
getItemSku()
S
71 2 6
getCouponDiscountType()
S
71 2 6
getCartTotal()
S
72 2 6
getOrderPaymentURL()
S
71 2 6
getProductImage()
S
71 2 6
priceDecimals()
S
72 2 6
priceThousandSeparator()
S
72 2 6
priceDecimalSeparator()
S
72 2 6
getOrderUser()
S
71 2 6
getOrderTotal()
S
71 2 6
getOrderLastName()
S
71 2 6
getOrderFirstName()
S
71 2 6
getOrderReceivedURL()
S
71 2 6
isOrderNeedPayment()
S
71 2 6
setSessionCookie()
S
71 2 6
isOrderPaid()
S
71 2 6
setOrderNote()
S
74 2 5
getOrderFees()
S
71 2 6
getOrderShippingTotal()
S
71 2 6
getOrderDiscount()
S
71 2 6
getItemTaxSubTotal()
S
71 2 6
getItemSubTotal()
S
71 2 6
getProductUrl()
S
71 2 6
getOrderSubTotal()
S
71 2 6
getOrderItemsTotal()
S
71 2 6
hasOrderStatus()
S
71 2 6
formatPrice()
S
71 2 6
setCustomerEmail()
S
71 2 6
getCartTotalTax()
S
71 2 6
getSessionCart()
S
68 2 8
getCartTaxes()
S
71 2 6
calculateCartTotals()
S
71 2 6
getCartTotalPrice()
S
72 2 6
getCartTotalDiscount()
S
71 2 6
getStatus()
S
69 2 7
getCouponDateExpires()
S
71 2 6
getCouponUsageCount()
S
71 2 6
getCustomerBillingEmail()
S
71 2 6
getProductName()
S
71 2 6
getAppliedCartCoupons()
S
71 2 6
getCartTotalForEdit()
S
71 2 6
setCustomerPayingForOrder()
S
75 2 5
setOrderStatus()
S
71 2 6
getOrder()
S
72 2 6
clearWooNotices()
S
75 2 5
emptyUserCart()
S
69 2 7
getOrdersList()
S
72 2 6
getSessionCustomerId()
S
71 2 6
getAppliedCouponsOfCart()
S
73 2 5
getCart()
S
71 2 6
getCartHash()
S
71 2 6
getClientSession()
S
63 1 11
isPriceExcludingTax()
S
80 1 3
setOrderMeta()
S
79 1 3
getPostMeta()
S
79 1 3
deleteOrderMeta()
S
80 1 3
removeTotalOrdersAndSpentFromSession()
S
78 1 4
getOrderMeta()
S
75 1 4